﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPI.OrganizationDomain.Model.ValueObject;
using KPI.Utility;

namespace KPI.OrganizationDomain.Model.Entity
{
    public class Employee : EntityBase
    {
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public DateTime? Birthday { get; set; }
        public DateTime FirstWorkingDate { get; set; }

        public int EmployeeID { get; set; }
        public string LoginName { get; set; }

        public string Email { get; set; }
        public string MobilePhoneNumber { get; set; }
        public string TelephoneNumber { get; set; }

        public EmployeeLevel Level { get; set; }
        public Employee LineManager { get; set; }
        public Department Department { get; set; }
        public EmployeeTitle Title { get; set; }

        public List<ProjectHumanResourceAgreement> CurrentHRA { get; set; }

        public Employee()
        {
            this.CurrentHRA = new List<ProjectHumanResourceAgreement>();
        }
    }
}
